/* Estilos base */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/Top Sales Callisto/dashboard-backend/Public/CAllisto.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.hidden {
  display: none !important;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  max-width: 180px;
  height: auto;
}

#pageTitle {
  font-family: 'Pacifico', cursive;
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.highlight {
  color: #FFD700;
}

.highlight.supervisor {
  font-family: 'Pacifico', cursive;
  font-size: 16px;
}

.emojis {
  font-size: 24px;
  margin: 10px 0;
}

.option-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.option {
  background-color: #FFD700;
  color: #000;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.option:hover {
  background-color: #FFA500;
}

#loginContainer {
  margin-top: 20px;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, select, button {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #FFD700;
  font-size: 16px;
}

input::placeholder {
  color: rgba(255, 215, 0, 0.5);
}

select {
  color: #FFD700;
}

select option {
  background-color: #2a2a2a;
  color: #FFD700;
}

button {
  background: #FFD700;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

button:hover {
  background: #FFA500;
}

footer {
  color: #ffffff;
  margin-top: 20px;
  font-size: 14px;
}

/* Estilos para el dropdown de Service */
#serviceDropdown {
  position: relative;
  width: 100%;
}

#serviceButton {
  background: rgba(255, 255, 255, 0.2);
  color: #FFD700;
  padding: 8px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-size: 16px;
  position: relative;
}

/* Flecha similar a los selects en el botón de servicio */
#serviceButton::after {
  content: "▼";
  font-size: 12px;
  color: #FFD700;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

#serviceOptions {
  display: none;
  position: absolute;
  background-color: #333;
  width: 120%; /* Hacemos el dropdown más ancho */
  left: -10%; /* Centramos el dropdown */
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1;
  color: #FFD700;
  padding: 10px;
  border: 1px solid #FFD700;
}

.service-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  color: #FFD700;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.service-option:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.service-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

#serviceButton.active + #serviceOptions {
  display: block;
}

.error-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff4444;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
}

#month option:checked {
  background-color: #ADD8E6;
  color: #000000;
}

select option:disabled {
  color: #999999;
}
